package com.aftersale.demo.service;

import com.aftersale.demo.entity.Faq;
import com.aftersale.demo.entity.Result;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface FaqService extends IService<Faq> {

    Result getFaq(Integer pageNum, Integer pageSize);

    Result selectFaq(Integer pageNum, Integer pageSize, String title);

    Result addFaq(Faq faq);

    Result deleteFaq(int id);

    Result updateFaq(Faq faq);
}
